package com.winning.joiner.magiccube.tool.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import com.winning.joiner.magiccube.common.controller.BaseController;

/**
 * 错误页面
 * 
 * @author joiner
 */
@Controller
@RequestMapping("error")
public class ErrorController extends BaseController
{
    @GetMapping("404")
    public String page404()
    {
        return "error/404";
    }
    
    @GetMapping("500")
    public String page500()
    {
        return "error/500";
    }

}
